package myTest;

/**
 * Created by 杨志远 on 2017/5/30
 * email faryangsh@163.com.
 */
public class TestAtomicInteger {
    public static void main(String[] args) {
       System.out.print( verifyFor());
    }

    private static int verifyFor() {
        int num=1;
        for (;;){
            num++;
            if (num==4){
                System.out.printf("num is ：%s %n",num);
                return num;
            }
        }
    }
}
